﻿using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace Test.Silverlight.DataGrid
{
    public class DemosList
    {
        static List<DemoItem> demos = new List<DemoItem>();
        static public void AddItem(string name, string description, Type userControlType, IDemoItemOwner owner)
        {
            demos.Add(new DemoItem(name, description, userControlType, owner));
        }
        static public ReadOnlyCollection<DemoItem> Demos { get { return demos.AsReadOnly(); } }
    }
}
